package com.sdut.material.service;

import com.sdut.material.pojo.Supplier;
import com.baomidou.mybatisplus.extension.service.IService;
import com.sdut.material.util.JSONResult;
import com.sdut.material.util.LayUITableResult;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Yu
 * @since 2022-04-20
 */
public interface ISupplierService extends IService<Supplier> {

    Supplier selectById(Integer id);

    LayUITableResult selectByPage(Long page, Long limit);

    JSONResult insert(Supplier supplier);

    JSONResult updateSupplier(Supplier supplier);

    void deleteById(Integer supplierId);
}
